<?php
/**
 * IP白名单逻辑控制
 *
 * @author	dingxiangning 
 * @version   $Id: allowip_action.php 2011-11-22$
 */

pf_load::lib('global_class');
class api_class_ApiCheck 
{
	protected $channels_rule = array();//渠道规则
	public function __construct()
	{

	}

	/**
	 * 输出
	 */
	protected function print_out($data, $format='json')
	{
		echo $this->make_json($data);
	}

	/**
	 * json 输出
	 */
	protected function make_json($data)
	{
		return json_encode($data);
	}
}